package com.mthebron.mthapp;

import android.os.Bundle;
import android.webkit.WebView;
import android.app.Activity;
import android.graphics.Color;

public class CalendarActivity extends Activity{
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		WebView webview = new WebView(this);
		String calhtml = "<html><iframe src=\"http://www.google.com/calendar/embed?showTitle=0&showPrint=0&showTabs=0&showCalendars=0&showTz=0&mode=AGENDA&height=800&wkst=1&bgcolor=%23FFFFFF&src=creukpskqpd0c51f57ole7but0%40group.calendar.google.com&color=%232952A3&src=1ej2c6tgpmgmtmft1t0a82hlf8%40group.calendar.google.com&color=%231B887A&src=mthebronapp%40gmail.com&color=%23182C57&src=tt0f2isfj7nrd14ig0b33djsgc%40group.calendar.google.com&color=%230F4B38&src=howard.county.public.schools%40gmail.com&color=%231B887A&ctz=America%2FNew_York\" style=\" border-width:0 \" width=\"480\" height=\"800\" frameborder=\"0\" scrolling=\"no\"></iframe></html>";
		webview.setBackgroundColor(Color.parseColor("#000000"));
		webview.clearSslPreferences();
		webview.getSettings().setJavaScriptEnabled(true);
		webview.loadUrl("http://www.google.com");
		webview.loadData(calhtml, "text/html", null);
		setContentView(webview);
    }
}
